package com.tianyang.yukuaifuzs.jump.jsbridge;

import android.util.Log;

/**
 * Description：
 * Created by 薛勇军 on 2018/6/11.
 */

class JBLog {
    private static JsBridgeConfigImpl config = JsBridgeConfigImpl.getInstance();

    public static void d(String msg) {
        if (config.isDebug()) {
            Log.d(JsBridge.TAG, msg);
        }
    }

    public static void e(String msg, Throwable throwable) {
        if (config.isDebug()) {
            Log.e(JsBridge.TAG, msg, throwable);
        }
    }
}
